package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Sports;

import java.util.List;


public interface SportsDao {
    Long findById(Integer id);

    void edit(Sports sports);

    void add(Sports sports);

    Page<Sports> findAll(String queryString);

    List<String> findSportsById(Integer id);

    List<Sports> findAllSports(Integer id);

    List<Integer> findSportsIdsByOrderId(Integer id);

    void deleteById(Integer id);
}
